package com.rpc.center.discover.client;

import com.rpc.center.discover.client.netty.NettyDiscoverServiceImpl;

/**
 * 服务发现服务工厂
 */
public class DiscoverServiceFactory {

    public static RPCDiscoverService getDiscoverInstance(String address,int port) {
        //return new SocketDiscoverServiceImpl(address,port);
        return new NettyDiscoverServiceImpl(address,port);
    }
}
